package com.bdqn.pojo;


import org.apache.catalina.User;

import java.util.HashSet;
import java.util.Set;

public class SysRole {

  private Long roleId;
  private String roleName;
  private String roleDesc;
  private Long roleFlag;
   private Set<User> users = new HashSet<>(0);
  public Long getRoleId() {
    return roleId;
  }

  public Set<User> getUsers() {
    return users;
  }

  public void setUsers(Set<User> users) {
    this.users = users;
  }

  public void setRoleId(Long roleId) {
    this.roleId = roleId;
  }

  public String getRoleName() {
    return roleName;
  }

  public void setRoleName(String roleName) {
    this.roleName = roleName;
  }

  public String getRoleDesc() {
    return roleDesc;
  }

  public void setRoleDesc(String roleDesc) {
    this.roleDesc = roleDesc;
  }

  public Long getRoleFlag() {
    return roleFlag;
  }

  public void setRoleFlag(Long roleFlag) {
    this.roleFlag = roleFlag;
  }

  public SysRole(String roleName, String roleDesc, Long roleFlag) {
    this.roleName = roleName;
    this.roleDesc = roleDesc;
    this.roleFlag = roleFlag;
  }
}
